
#include <cstring>

#include <iostream>

#include "traits.hpp"

using namespace std;
int main()
{

    int i_array[4] = {1, 2, 3};
    cout << Sigma(&i_array[0], &i_array[3]) << endl;

    char c_array[] = {"abc"};
    char *start = c_array;
    char *end = c_array + strlen(c_array);
    cout << Sigma(start, end) << endl;  //  97 + 98 + 99 = 294 

    return 0;
}